/**
 * Copyright 2011 By Shayne, Zhang.
 * 
 * The contents of this file are developped by Shayne, Zhang. You may visit:
 * http://www.shaynez.com for more details.
 *
 */
package com.shaynez.ec.element;

import com.shaynez.ec.exception.InvalidateValueException;

/**
 * @author shayne zhang
 *
 */
public class Exposure {
	
	private Aperture aperture;
	
	private Shutter shutter;
	
	private Sensitivity sensitivity;
	
	private Weather weather;
	
	private Compensation compensation;

	public Exposure(Weather w) throws InvalidateValueException{
		this.weather = w;
		this.shutter = Shutter.getInstance(100);
		this.sensitivity = Sensitivity.getInstance(100);
		this.aperture = Aperture.getInstance(weather.getValue());
		this.compensation = Compensation.getInstance(0);
	}
	
	
	
	public Aperture getAperture() {
		return aperture;
	}

	public Shutter getShutter() {
		return shutter;
	}

	public Sensitivity getSensitivity() {
		return sensitivity;
	}

	public Weather getWeather() {
		return weather;
	}

	public Compensation getCompensation() {
		return compensation;
	}
	
	
}
